package net.takela.push.model;


import net.takela.common.web.model.Model;

import java.io.Serial;
import java.util.Date;
import java.util.Map;

/**
 * Created by baboy on 25/07/2017.
 */
public class PushMsgTpl extends Model {
    @Serial
    private static final long serialVersionUID = 3452467175936533643L;

    private Integer id;
    private Integer aid;
    private String code;
    private String msgId;
    private Map conf;
    private Integer createUid;
    private Date createTime;
    private Integer updateUid;
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public Map getConf() {
        return conf;
    }

    public void setConf(Map conf) {
        this.conf = conf;
    }

    public Integer getCreateUid() {
        return createUid;
    }

    public void setCreateUid(Integer createUid) {
        this.createUid = createUid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateUid() {
        return updateUid;
    }

    public void setUpdateUid(Integer updateUid) {
        this.updateUid = updateUid;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "PushMsgConf{" +
                "id=" + id +
                ", aid=" + aid +
                ", alias='" + code + '\'' +
                ", msgId='" + msgId + '\'' +
                ", conf=" + conf +
                ", createUid=" + createUid +
                ", createTime=" + createTime +
                ", updateUid=" + updateUid +
                ", updateTime=" + updateTime +
                '}';
    }
}
